var mysql =require('mysql2');
var db=mysql.createPool({
    host:'127.0.0.1',
    port:'3306',
    user:'root',
    password:'root',
    database:'nyd',
}).promise();

module.exports=db
